package com.hs.panghu.entity;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class Community {
    private Integer communityId;
    private String communityName;
    private String communityProvince;

    public Community(Integer communityId, String communityName, String communityProvince, String communityCity, String communityDistrict, String communityAddress, String communityLatitude, String communityLongitude, Integer communityAreaCode, String communityCoordinates) {
        this.communityId = communityId;
        this.communityName = communityName;
        this.communityProvince = communityProvince;
        this.communityCity = communityCity;
        this.communityDistrict = communityDistrict;
        this.communityAddress = communityAddress;
        this.communityLatitude = communityLatitude;
        this.communityLongitude = communityLongitude;
        this.communityAreaCode = communityAreaCode;
        this.communityCoordinates = communityCoordinates;
    }

    private String communityCity;
    private String communityDistrict;
    private String communityAddress;
    private String communityLatitude;
    private String communityLongitude;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Integer communityShopCount;
    private Integer communityAreaCode;
    private String communityCoordinates;
    private Integer communityStatus;
    private Integer communityUserCount;
    private String distance;


    public Community() {
    }

    public Community(Integer communityId, String communityName, String communityProvince, String communityCity, String communityDistrict, String communityAddress, String communityLatitude, String communityLongitude, Date createTime, Integer communityShopCount, Integer communityAreaCode, String communityCoordinates, Integer communityStatus, Integer communityUserCount, String distance) {
        this.communityId = communityId;
        this.communityName = communityName;
        this.communityProvince = communityProvince;
        this.communityCity = communityCity;
        this.communityDistrict = communityDistrict;
        this.communityAddress = communityAddress;
        this.communityLatitude = communityLatitude;
        this.communityLongitude = communityLongitude;
        this.createTime = createTime;
        this.communityShopCount = communityShopCount;
        this.communityAreaCode = communityAreaCode;
        this.communityCoordinates = communityCoordinates;
        this.communityStatus = communityStatus;
        this.communityUserCount = communityUserCount;
        this.distance = distance;
    }

    /**
     * 获取
     * @return communityId
     */
    public Integer getCommunityId() {
        return communityId;
    }

    /**
     * 设置
     * @param communityId
     */
    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    /**
     * 获取
     * @return communityName
     */
    public String getCommunityName() {
        return communityName;
    }

    /**
     * 设置
     * @param communityName
     */
    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    /**
     * 获取
     * @return communityProvince
     */
    public String getCommunityProvince() {
        return communityProvince;
    }

    /**
     * 设置
     * @param communityProvince
     */
    public void setCommunityProvince(String communityProvince) {
        this.communityProvince = communityProvince;
    }

    /**
     * 获取
     * @return communityCity
     */
    public String getCommunityCity() {
        return communityCity;
    }

    /**
     * 设置
     * @param communityCity
     */
    public void setCommunityCity(String communityCity) {
        this.communityCity = communityCity;
    }

    /**
     * 获取
     * @return communityDistrict
     */
    public String getCommunityDistrict() {
        return communityDistrict;
    }

    /**
     * 设置
     * @param communityDistrict
     */
    public void setCommunityDistrict(String communityDistrict) {
        this.communityDistrict = communityDistrict;
    }

    /**
     * 获取
     * @return communityAddress
     */
    public String getCommunityAddress() {
        return communityAddress;
    }

    /**
     * 设置
     * @param communityAddress
     */
    public void setCommunityAddress(String communityAddress) {
        this.communityAddress = communityAddress;
    }

    /**
     * 获取
     * @return communityLatitude
     */
    public String getCommunityLatitude() {
        return communityLatitude;
    }

    /**
     * 设置
     * @param communityLatitude
     */
    public void setCommunityLatitude(String communityLatitude) {
        this.communityLatitude = communityLatitude;
    }

    /**
     * 获取
     * @return communityLongitude
     */
    public String getCommunityLongitude() {
        return communityLongitude;
    }

    /**
     * 设置
     * @param communityLongitude
     */
    public void setCommunityLongitude(String communityLongitude) {
        this.communityLongitude = communityLongitude;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return communityShopCount
     */
    public Integer getCommunityShopCount() {
        return communityShopCount;
    }

    /**
     * 设置
     * @param communityShopCount
     */
    public void setCommunityShopCount(Integer communityShopCount) {
        this.communityShopCount = communityShopCount;
    }

    /**
     * 获取
     * @return communityAreaCode
     */
    public Integer getCommunityAreaCode() {
        return communityAreaCode;
    }

    /**
     * 设置
     * @param communityAreaCode
     */
    public void setCommunityAreaCode(Integer communityAreaCode) {
        this.communityAreaCode = communityAreaCode;
    }

    /**
     * 获取
     * @return communityCoordinates
     */
    public String getCommunityCoordinates() {
        return communityCoordinates;
    }

    /**
     * 设置
     * @param communityCoordinates
     */
    public void setCommunityCoordinates(String communityCoordinates) {
        this.communityCoordinates = communityCoordinates;
    }

    /**
     * 获取
     * @return communityStatus
     */
    public Integer getCommunityStatus() {
        return communityStatus;
    }

    /**
     * 设置
     * @param communityStatus
     */
    public void setCommunityStatus(Integer communityStatus) {
        this.communityStatus = communityStatus;
    }

    /**
     * 获取
     * @return communityUserCount
     */
    public Integer getCommunityUserCount() {
        return communityUserCount;
    }

    /**
     * 设置
     * @param communityUserCount
     */
    public void setCommunityUserCount(Integer communityUserCount) {
        this.communityUserCount = communityUserCount;
    }

    /**
     * 获取
     * @return distance
     */
    public String getDistance() {
        return distance;
    }

    /**
     * 设置
     * @param distance
     */
    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String toString() {
        return "Community{communityId = " + communityId + ", communityName = " + communityName + ", communityProvince = " + communityProvince + ", communityCity = " + communityCity + ", communityDistrict = " + communityDistrict + ", communityAddress = " + communityAddress + ", communityLatitude = " + communityLatitude + ", communityLongitude = " + communityLongitude + ", createTime = " + createTime + ", communityShopCount = " + communityShopCount + ", communityAreaCode = " + communityAreaCode + ", communityCoordinates = " + communityCoordinates + ", communityStatus = " + communityStatus + ", communityUserCount = " + communityUserCount + ", distance = " + distance + "}";
    }
}
